#pragma once
#ifndef SMPPBINDRESP_HPP
#define SMPPBINDRESP_HPP

#include "SMPPHeader.hpp"
#include "SMPPScInterfaceVersion.hpp"

namespace smpp {
namespace pdu{

class SMPP_DLLPRFX BindResp : public Header{
	CoctetString _SystemId;
	SrInterfaceVersion *_SrInterfaceVersion;
public:
	BindResp(const Header &nHeader = Header(),
		const CoctetString &nSystemId = "",
		const SrInterfaceVersion *nSrInterfaceVersion = 0);

	BindResp(const BindResp &);

	~BindResp();

	void setSystemId(const CoctetString &);

	const CoctetString &getSystemId() const;

	void setScInterfaceVersion(const SrInterfaceVersion *);

	const SrInterfaceVersion *getSrInterfaceVersion() const;

	void calcCommandLength();
};

}
}

#endif
